//
//  XYJXCModel.m
//  徙游记-01
//
//  Created by hcios on 2017/7/10.
//  Copyright © 2017年 鹿林. All rights reserved.
//

#import "XYJXCModel.h"

@implementation XYJXCModel

-(instancetype)initWithDict:(NSDictionary *)dict{
    
    if (self = [super init]) {
        _xc_selfID = numberToString(dict[@"id"]);
        _xc_name = NonEmptyString(dict[@"name"]);
        _xc_image_url = NonEmptyString(dict[@"image_url"]);
        _xc_description = NonEmptyString(dict[@"description"]);
        _xc_plan_days_count = numberToString(dict[@"plan_days_count"]);
        _xc_plan_nodes_count = numberToString(dict[@"plan_nodes_count"]);
    }
    return self;
}

@end
